home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pp / pp-6.0 / Tools / probe / Makefile < prev    next >
Encoding:
Makefile  |  1991-12-18  |  3.2 KB  |  145 lines

  1. #  Build the probe utility
  2. #
  3. ############################################################
  4. #
  5. # @(#) $Header: /xtel/pp/pp-beta/Tools/probe/RCS/Makefile,v 6.0 1991/12/18 20:32:41 jpo Rel $
  6. #
  7. # $Log: Makefile,v $
  8. # Revision 6.0  1991/12/18  20:32:41  jpo
  9. # Release 6.0
  10. #
  11. #
  12. ############################################################
  13. #
  14. # Definitions
  15. #
  16. ############################################################
  17.  
  18.  
  19.  
  20. SRCS =  p_stdin.c p_ut.c probe.c
  21. OBJS =  p_stdin.o p_ut.o probe.o
  22. # DO NOT DELETE THIS LINE MAKE DEFINE NEEDS IT
  23.  
  24. HEADERS         = ../../h
  25. LIBPP           = ../../Lib/libpp.a
  26. CFLAGS          = $(CCOPTIONS) $(LCF) -I$(HEADERS)
  27. LDFLAGS        = $(LDOPTIONS) $(LLF)
  28. LLFLAGS         = $(LINTFLAGS) -I$(HEADERS) -u
  29. LINTLIBS        = ../../Lib/llib-lpp.ln $(LINTISODE)
  30.  
  31. ############################################################
  32. #
  33. # Building Rules
  34. #
  35. ############################################################
  36.  
  37. PROGS = xprobe
  38.  
  39. default: $(PROGS)
  40.  
  41. probe: xprobe
  42. xprobe: $(OBJS) $(LIBPP)
  43.     $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBPP) $(LIBSYS)
  44.  
  45.  
  46. install: inst-dir inst-probe
  47.  
  48. inst-probe: $(TOOLDIR)/probe
  49. $(TOOLDIR)/probe: xprobe
  50.     -$(BACKUP) $@ zxprobe
  51.     rm -f $@
  52.     $(INSTALL) xprobe $@
  53.     -$(CHMOD) $(PGMPROT) $@
  54.     -$(CHOWN) $(PPUSER) $@
  55.     -@ls -ls $@
  56.     -@echo "probe installed normally"; echo ""
  57.  
  58. inst-dir: $(TOOLDIR)
  59.  
  60. lint:
  61.     $(LINT) $(LLFLAGS) $(SRCS) $(LINTLIBS)
  62.  
  63. clean:  tidy
  64.     rm -f $(OBJS)
  65. tidy:
  66.     rm -f core $(PROGS) zxprobe *.old *.BAK
  67.  
  68. depend:
  69.     $(DEPEND) -I$(HEADERS) $(SRCS)
  70.  
  71. define:
  72.     $(DEFINE) Makefile
  73.  
  74.  
  75. ############################################################
  76. #
  77. # End of building rules
  78. #
  79. ############################################################
  80.  
  81. # DO NOT DELETE THIS LINE MAKE DEPEND NEEDS IT
  82. # Dependencies follow
  83. p_stdin.o: p_stdin.c
  84. p_stdin.o: ../../h/util.h
  85. p_stdin.o: ../../h/config.h
  86. p_stdin.o: ../../h/ll_log.h
  87. p_stdin.o: ../../h/q.h
  88. p_stdin.o: ../../h/adr.h
  89. p_stdin.o: ../../h/list_rchan.h
  90. p_stdin.o: ../../h/chan.h
  91. p_stdin.o: ../../h/table.h
  92. p_stdin.o: ../../h/list_bpt.h
  93. p_stdin.o: ../../h/auth.h
  94. p_stdin.o: ../../h/list_bpt.h
  95. p_stdin.o: ../../h/extension.h
  96. p_stdin.o: ../../h/mta.h
  97. p_stdin.o: ../../h/adr.h
  98. p_stdin.o: ../../h/list_bpt.h
  99. p_stdin.o: ../../h/mta.h
  100. p_stdin.o: ../../h/tb_q.h
  101. p_ut.o: p_ut.c
  102. p_ut.o: ../../h/util.h
  103. p_ut.o: ../../h/config.h
  104. p_ut.o: ../../h/ll_log.h
  105. p_ut.o: ../../h/q.h
  106. p_ut.o: ../../h/adr.h
  107. p_ut.o: ../../h/list_rchan.h
  108. p_ut.o: ../../h/chan.h
  109. p_ut.o: ../../h/table.h
  110. p_ut.o: ../../h/list_bpt.h
  111. p_ut.o: ../../h/auth.h
  112. p_ut.o: ../../h/list_bpt.h
  113. p_ut.o: ../../h/extension.h
  114. p_ut.o: ../../h/mta.h
  115. p_ut.o: ../../h/adr.h
  116. p_ut.o: ../../h/list_bpt.h
  117. p_ut.o: ../../h/mta.h
  118. p_ut.o: ../../h/tb_bpt84.h
  119. p_ut.o: ../../h/tb_p1.h
  120. p_ut.o: ../../h/retcode.h
  121. probe.o: probe.c
  122. probe.o: ../../h/head.h
  123. probe.o: ../../h/util.h
  124. probe.o: ../../h/config.h
  125. probe.o: ../../h/ll_log.h
  126. probe.o: ../../h/retcode.h
  127. probe.o: ../../h/prm.h
  128. probe.o: ../../h/q.h
  129. probe.o: ../../h/adr.h
  130. probe.o: ../../h/list_rchan.h
  131. probe.o: ../../h/chan.h
  132. probe.o: ../../h/table.h
  133. probe.o: ../../h/list_bpt.h
  134. probe.o: ../../h/auth.h
  135. probe.o: ../../h/list_bpt.h
  136. probe.o: ../../h/extension.h
  137. probe.o: ../../h/mta.h
  138. probe.o: ../../h/adr.h
  139. probe.o: ../../h/list_bpt.h
  140. probe.o: ../../h/mta.h
  141.  
  142. # DEPENDENCIES MUST END AT END OF FILE
  143. # IF YOU PUT STUFF HERE IT WILL GO AWAY
  144. # see make depend above
  145.